package com.zhen.module.contorller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class TemplateContorller {
    @RequestMapping("/doTemplateUI")
    public  String doTemplateUI(Model model){
        model.addAttribute("name","黄网");
        return "index";
    }
}
